import javax.swing.JFrame;

public class GUI extends JFrame{

	public GUI(String windowTitle, int width, int height, int x, int y){
		super(windowTitle);
		setSize(width, height);
        setLocation(x, y);      
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
	}
	
	public void addPanel(SimulationPanel simpanel){
		this.setContentPane(simpanel);
	}
}
